package com.beamfield.dao.sys;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.beamfield.model.HonorInfo;


public interface HonorInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(HonorInfo record);

    int insertSelective(HonorInfo record);

    HonorInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HonorInfo record);

    int updateByPrimaryKey(HonorInfo record);
    
    List<HonorInfo> selectPage(@Param("beamId") long beamId,
            @Param("offset") String offset,
            @Param("limit") String limit,
            @Param("ecode") String ecode);

   long countPage(@Param("beamId") long beamId,@Param("ecode") String ecode);
}